package com.cedarhd.brzx.dto.request;

import com.cedarhd.brzx.domain.annotation.NotEmptyXs;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 设置企业信息
 * Created by Administrator on 2018/5/3.
 */
@Data
public class EnterpriseInformationDTO  implements Serializable {

    @ApiModelProperty(value = "商户系统用户标识",required = true)
    @NotEmptyXs(message = "bizUserId不能空")
    private String bizUserId;

    @ApiModelProperty(value = "企业会员审核结果通知")
    private String backUrl;

    @Valid
    @ApiModelProperty(value = "企业基本信息",required = true)
    private CompanyBasicInfoDTO companyBasicInfo;

    @ApiModelProperty(value = "是否进行线上认证",required = true)
    @NotNull(message = "isAuth不能为空")
    private Boolean isAuth;
}
